public class Val { 								//新建类
    static int times = 3; 							//定义成员变量times
    public static void main(String[] args) { 			//主方法
        int times = 4; 							//定义局部变量times
        System.out.println("times的值为：" + times); 	//将times的值输出
    }
}